<template>
  <div class="logo">
    <div class="logp"></div>
    <div class="logi">
      <div>
        <el-form
          label-position="top"
          size="large"
          :model="userinfo"
          :rules="rules"
          ref="myForm"
        ></el-form>
        <el-form label-width="100px" style="max-width: 460px">
          <el-form-item label="用户名">
            <el-input type="text" />
          </el-form-item>
          <el-form-item label="密码">
            <el-input type="password" />
          </el-form-item>
          <el-form-item label="确认密码">
            <el-input type="password" />
          </el-form-item>
          <el-button type="primary">Submit</el-button>
        </el-form>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
import { reactive, ref } from 'vue'
</script>
<script lang="ts">
export default {
  name: 'loGo'
}
</script>
<style scoped lang="scss">
@media screen and (min-width: 900px) {
  .logo {
    width: 100vw;
    height: 100vh;
    display: flex;
    .logp {
      width: 50vw;
      // height: 50vh;
      background: url(https://img.zcool.cn/community/013xnfmppskncwoqep0nyt3537.png?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100/format,webp/quality,q_100)
        no-repeat;
      background-size: 100% 100%;
    }
    .logi {
      width: 50vw;
      // height: 50vh;
      background: url(https://img.zcool.cn/community/01zskc83ogf1r9tfyxelrr3436.png?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100/format,webp/quality,q_100)
        no-repeat;
      background-size: 100% 100%;
    }
  }
}
@media screen and (max-width: 900px) {
  .logi {
    width: 50vw;
    background: url(https://img.zcool.cn/community/01zskc83ogf1r9tfyxelrr3436.png?x-oss-process=image/auto-orient,1/resize,m_lfit,w_1280,limit_1/sharpen,100/format,webp/quality,q_100)
      no-repeat;
    background-size: 100% 100%;
  }
}
</style>
